<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Draw a border around the screen using attributed characters</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.ncurses-border" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ncurses_border</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.2.0, PHP 5 &lt; 5.3.0, PECL ncurses &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">ncurses_border</span> &mdash; <span class="dc-title">Draw a border around the screen using attributed characters</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.ncurses-border-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>ncurses_border</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$left</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$right</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$top</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$bottom</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$tl_corner</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$tr_corner</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$bl_corner</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$br_corner</code></span>
   ) : <span class="type">int</span></div>

  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">此函数是<em class="emphasis">实验性</em>的。此函数的表象，包括名称及其相关文档都可能在未来的
PHP 发布版本中未通知就被修改。使用本函数风险自担 。</p></div>
  <p class="para">
   Draws the specified lines and corners around the main window. 
  </p>
  <p class="para">
   Use <span class="function"><a href="ncurses_wborder.html" class="function">ncurses_wborder()</a></span> for borders around subwindows!
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.ncurses-border-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   Every parameter expects 0 to draw a line or 1 to skip it.
   <dl>

    
     <dt>
<code class="parameter">left</code></dt>

     <dd>

      <p class="para">
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">right</code></dt>

     <dd>

      <p class="para">
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">top</code></dt>

     <dd>

      <p class="para">
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">bottom</code></dt>

     <dd>

      <p class="para">
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">tl_corner</code></dt>

     <dd>

      <p class="para">
       Top left corner
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">tr_corner</code></dt>

     <dd>

      <p class="para">
       Top right corner
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">bl_corner</code></dt>

     <dd>

      <p class="para">
       Bottom left corner
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">br_corner</code></dt>

     <dd>

      <p class="para">
       Bottom right corner
      </p>
     </dd>

    
   </dl>

  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.ncurses-border-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="ncurses_wborder.html" class="function" rel="rdfs-seeAlso">ncurses_wborder()</a> - Draws a border around the window using attributed characters</span></li>
   </ul>
  </p>
 </div>

</div></div></div></body></html>